<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta name="Generator" content="68ECSHOP v4_2" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="Keywords" content="" />
    <meta name="Description" content="" />
    <title>“淘嘟嘟”郑州报业集团旗下网购生活平台 </title>
    <link rel="stylesheet" type="text/css" href="__CSS__/store/68ecshop_common.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/store/store_joinin.css" />
    <script src="__JS__/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="__JS__/store/jquery.validate.min.js" type="text/javascript" charset="utf-8"></script>

    <!--F 上传图片-->
    <script type="text/javascript" src="__JS__/jquery.ui.widget.js"></script>
    <script type="text/javascript" src="__JS__/jquery.iframe-transport.js"></script>
    <script type="text/javascript" src="__JS__/jquery.fileupload.js"></script>
    <!--E 上传图片-->
</head>

<body>
<div class="margin-w1210 clearfix">
    <!--S公共头部-->
    <include file="Public/joinin_head"/>
    <!--E公共头部-->
    <div class="store-joinin-apply">
        <div class="main">
            <div id="apply_company_info" class="apply-company-info" style="display: block;">
                <div class="note"><i></i>以下所需要上传的电子版资质文件仅支持JPG\GIF\PNG格式图片，大小请控制在4096K之内。</div>
                <form id="form_company_info" name="form_company_info" action="{:U('company')}" method="post" enctype="multipart/form-data">
                    <table border="0" cellpadding="0" cellspacing="0" class="all">
                        <thead>
                        <tr>
                            <th colspan="2" align="left">公司及联系人信息</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <th><i>*</i>公司名称：</th>
                            <td><input name="company_name" type="text" value="{$company['company_name']}" class="w200" required>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th><i>*</i>公司所在地：</th>
                            <td>
                                <select class="form-control width-auto" name="province_id" id="province_id" data-current="{$company['company_province_id']}">
                                    <option value>请选择省份</option>
                                </select>
                                <select class="form-control width-auto" name="city_id" id="city_id" data-current="{$company['company_city_id']}">
                                    <option value>请选择城市</option>
                                </select>
                                <select class="form-control width-auto" name="area_id" id="area_id" data-current="{$company['company_area_id']}">
                                    <option value>请选择区县</option>
                                </select>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th><i>*</i>公司详细地址：</th>
                            <td><input name="company_address_detail" class="w200" type="text" value="{$company['company_address_detail']}" required>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th><i>*</i>公司电话：</th>
                            <td><input type="text" name="company_phone" value="{$company['company_phone']}" class="w100" required>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th><i>*</i>联系人姓名：</th>
                            <td><input name="contacts_name" type="text" class="w100" value="{$company['contacts_name']}" required>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th><i>*</i>联系人电话：</th>
                            <td><input name="contacts_phone" type="text" class="w100" value="{$company['contacts_phone']}" required>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th><i>*</i>电子邮箱：</th>
                            <td><input type="text" name="contacts_email" size="45" value="{$company['contacts_email']}" class="w200" required>
                                <span></span></td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="20">&nbsp;</td>
                        </tr>
                        </tfoot>
                    </table>
                    <table border="0" cellpadding="0" cellspacing="0" class="all">
                        <thead>
                        <tr>
                            <th colspan="20" align="left">开户银行信息</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <th class="w150"><i>*</i>银行开户名：</th>
                            <td><input name="bank_account_name" id="bank_account_name" type="text" class="w200" value="{$company['bank_account_name']}" required>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th><i>*</i>公司银行账号：</th>
                            <td><input name="bank_account_number" id="bank_account_number" type="text" class="w200" value="{$company['bank_account_number']}" required>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th><i>*</i>开户银行支行名称：</th>
                            <td><input name="bank_name" type="text" id="bank_name" class="w200" value="{$company['bank_name']}" required>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th><i>*</i>支行联行号：</th>
                            <td><input name="bank_code" type="text" id="bank_code" class="w200" value="{$company['bank_code']}" required>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th>开户银行许可证电子版：</th>
                            <td>

                                <!-- 图片上传按钮 -->
                                <input class="fileupload" type="file" name="image" data-name="bank_licence_electronic" data-num="1">
                                <!-- 图片展示模块 -->
                                <div class="files">
                                    <notempty name="company['bank_licence_electronic']">
                                        <div class="images_zone">
                                            <input type="hidden" name="bank_licence_electronic" value="{$company['bank_licence_electronic']}">
                                            <span><img src="{$company['bank_licence_electronic']}!100x100"></span>
                                            <a href="javascript:;" style="display: none;">删除</a>
                                        </div>
                                    </notempty>
                                </div>
                                <div style="clear:both;"></div>
                                <!-- 图片上传进度条模块 -->
                                <div class="up_progress"><div class="progress-bar"></div></div>

                                <span class="block">请确保图片清晰，文字可辨并有清晰的红色公章。</span></td>
                        </tr>
                        <tr>
                            <th></th>
                            <td><input id="is_settlement_account" name="is_settlement_account" type="checkbox" onclick="cin()">
                                <label for="is_settlement_account">此账号为结算账号</label></td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="20">&nbsp;</td>
                        </tr>
                        </tfoot>
                    </table>
                    <table id="settlement_bank" border="0" cellpadding="0" cellspacing="0" class="all">
                        <thead>
                        <tr>
                            <th colspan="20" align="left">结算账号信息</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <th class="w150">银行开户名：</th>
                            <td><input id="settlement_bank_account_name" name="settlement_bank_account_name" type="text" class="w200" value="{$company['settlement_bank_account_name']}" required>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th>公司银行账号：</th>
                            <td><input id="settlement_bank_account_number" name="settlement_bank_account_number" type="text" class="w200" value="{$company['settlement_bank_account_number']}" required>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th>开户银行支行名称：</th>
                            <td><input id="settlement_bank_name" name="settlement_bank_name" type="text" class="w200" value="{$company['settlement_bank_name']}" required>
                                <span></span></td>
                        </tr>
                        <tr>
                            <th>支行联行号：</th>
                            <td><input id="settlement_bank_code" name="settlement_bank_code" type="text" class="w200" value="{$company['settlement_bank_code']}" required>
                                <span></span></td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="20">&nbsp;</td>
                        </tr>
                        </tfoot>
                    </table>
                    <table id="shangchuanz" border="0" cellpadding="0" cellspacing="0" class="all">
                        <thead>
                        <tr>
                            <th>税务登记证</th>
                            <th>营业执照</th>
                            <th>组织机构代码证</th>
                            <th>一般纳税人证明</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>
                                <div>
                                    <!-- 图片上传按钮 -->
                                    <input class="fileupload" type="file" name="image" data-name="business_licence_number_electronic" data-num="1">
                                    <!-- 图片展示模块 -->
                                    <div class="files">
                                        <notempty name="company['business_licence_number_electronic']">
                                            <div class="images_zone">
                                                <input type="hidden" name="business_licence_number_electronic" value="{$company['business_licence_number_electronic']}">
                                                <span><img src="{$company['business_licence_number_electronic']}!100x100"></span>
                                                <a href="javascript:;" style="display: block;">删除</a>
                                            </div>
                                        </notempty>
                                    </div>
                                    <div style="clear:both;"></div>
                                    <!-- 图片上传进度条模块 -->
                                    <div class="up_progress"><div class="progress-bar"></div></div>
                                </div>
                            </td>
                            <td>
                                <div>
                                    <!-- 图片上传按钮 -->
                                    <input class="fileupload" type="file" name="image" data-name="organization_code_electronic" data-num="1">
                                    <!-- 图片展示模块 -->
                                    <div class="files">
                                        <notempty name="company['organization_code_electronic']">
                                            <div class="images_zone">
                                                <input type="hidden" name="organization_code_electronic" value="{$company['organization_code_electronic']}">
                                                <span><img src="{$company['organization_code_electronic']}!100x100"></span>
                                                <a href="javascript:;" style="display: block;">删除</a>
                                            </div>
                                        </notempty>
                                    </div>
                                    <div style="clear:both;"></div>
                                    <!-- 图片上传进度条模块 -->
                                    <div class="up_progress"><div class="progress-bar"></div></div>
                                </div>
                            </td>
                            <td>
                                <div>
                                    <!-- 图片上传按钮 -->
                                    <input class="fileupload" type="file" name="image" data-name="general_taxpayer" data-num="1">
                                    <!-- 图片展示模块 -->
                                    <div class="files">
                                        <notempty name="company['general_taxpayer']">
                                            <div class="images_zone">
                                                <input type="hidden" name="general_taxpayer" value="{$company['general_taxpayer']}">
                                                <span><img src="{$company['general_taxpayer']}!100x100"></span>
                                                <a href="javascript:;" style="display: block;">删除</a>
                                            </div>
                                        </notempty>
                                    </div>
                                    <div style="clear:both;"></div>
                                    <!-- 图片上传进度条模块 -->
                                    <div class="up_progress"><div class="progress-bar"></div></div>
                                </div>
                            </td>
                            <td>
                                <div>
                                    <!-- 图片上传按钮 -->
                                    <input class="fileupload" type="file" name="image" data-name="tax_registration_certificate_electronic" data-num="1">
                                    <!-- 图片展示模块 -->
                                    <div class="files">
                                        <notempty name="company['tax_registration_certificate_electronic']">
                                            <div class="images_zone">
                                                <input type="hidden" name="tax_registration_certificate_electronic" value="{$company['tax_registration_certificate_electronic']}">
                                                <span><img src="{$company['tax_registration_certificate_electronic']}!100x100"></span>
                                                <a href="javascript:;" style="display: block;">删除</a>
                                            </div>
                                        </notempty>
                                    </div>
                                    <div style="clear:both;"></div>
                                    <!-- 图片上传进度条模块 -->
                                    <div class="up_progress"><div class="progress-bar"></div></div>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="20">&nbsp;</td>
                        </tr>
                        </tfoot>
                    </table>
                    <div class="bottom">
                        <input type="button" value="上一步" class="btn" onclick="top.location.href='{:U('agreement',array('buzhou'=>0))}'">
                        <input type="submit" value="下一步" class="btn" onclick="return smimg()">
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<!--S公共尾部-->
<include file="Public/joinin_bottom"/>
<!--E公共尾部-->
</body>
</html>
<script type="text/javascript">
    function cin(){
        if ($("#is_settlement_account").attr("checked")) {
            $("#settlement_bank_account_name").val($("#bank_account_name").val());
            $("#settlement_bank_account_number").val($("#bank_account_number").val());
            $("#settlement_bank_name").val($("#bank_name").val());
            $("#settlement_bank_code").val($("#bank_code").val());
        }
    }
</script>
<script type="text/javascript">
    $().ready(function() {
        $("#form_company_info").validate({
            rules : {

            },
            messages:{

            }
        });
    });
    function smimg(){
        if($("#selCountries_0").val()<=0||$("#selProvinces_0").val()<=0||$("#selCities_0").val()<=0){
            alert("请选择地址");
            return false;
        }
        for (var i = 0 ; i < $(".images_zone > input").length ; i++) {
            if($(".images_zone > input").eq(i).val()==""){
                alert("请上传必要的图片");
                return false;
            }
        }

    }

</script>
<!--F 省市区三级联动-->
<script src="__JS__/area.data.js"></script>
<script src="__JS__/jquery.region.js"></script>
<script type="text/javascript">
    $("#form_company_info").region();
</script>
<!--E 省市区三级联动-->
<!--F 上传图片-->
<script type="text/javascript" src="__JS__/jquery.uploads.js"></script>
<!--F 上传图片-->
<script>
    $("#shangchuanz td > div").on("hover","a",function(){
        $(this).show();
    })
</script>